package com.fwc.fw.domo;

import java.util.Collection;

public class Form {
	private String label;
	private Class type;
	private String renderer;
	private Collection<FormField> fields;
	
	public Form() {}
	
	public Form(String label, Class type) {
		super();
		this.label = label;
		this.type = type;
	}
	
	public Form(String label, Class type, String renderer) {
		super();
		this.label = label;
		this.type = type;
		this.renderer = renderer;
	}
	
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public Class getType() {
		return type;
	}
	public void setType(Class type) {
		this.type = type;
	}
	public String getRenderer() {
		return renderer;
	}
	public void setRenderer(String renderer) {
		this.renderer = renderer;
	}

	public Collection<FormField> getFields() {
		return fields;
	}

	public void setFields(Collection<FormField> fields) {
		this.fields = fields;
	}
}
